Platform Explorer / Nuxeo Platform 2023.8

Component org.nuxeo.ecm.platform.thumbnailing.bulk

Requirements

Resolution Order

889
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.thumbnailing.bulk" version="1.0.0">

  <require>org.nuxeo.ecm.core.bulk</require>

  <extension target="org.nuxeo.ecm.core.bulk" point="actions">
    <action name="recomputeThumbnails" inputStream="bulk/recomputeThumbnails" bucketSize="25" batchSize="1"
      httpEnabled="false" />
  </extension>

  <extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
    <streamProcessor name="recomputeThumbnails"
      class="org.nuxeo.ecm.platform.thumbnail.action.RecomputeThumbnailsAction"
      defaultConcurrency="${nuxeo.bulk.action.recomputeThumbnails.defaultConcurrency:=2}"
      defaultPartitions="${nuxeo.bulk.action.recomputeThumbnails.defaultPartitions:=6}">
      <policy name="default" maxRetries="${nuxeo.bulk.action.recomputeThumbnails.maxRetries:=1}" delay="5s" maxDelay="10s" continueOnFailure="true" />
    </streamProcessor>
  </extension>

</component>